ARCH=arm
CROSS_COMPILE=/opt/Embedsky/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/tq-linaro-toolchain/bin/arm-none-linux-gnueabi-
ifneq ($(KERNELRELEASE), )
	obj-m := mytimer.o

else
	KDIR:=/opt/Embedsky/TQIMX6/E9/Ubuntu/linux_E9_3.0.35_for_Ubuntu

all:
	make -C $(KDIR) M=$(PWD) modules

clean:
	rm -f *.ko *.o *.mod.o *.mod.c .symvers
	

	
endif

